<?php
/**
 * Template Name: View Assignments
 * Description: 
 *
 * @package WordPress
 * @subpackage Twenty_Eleven
 * @since Twenty Eleven 1.0
 */

// Enqueue showcase script for the slider
wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '2011-04-28' );

get_header(); ?>

<html>
<div class="assignments">
	<div id="header1">Assignment</div>
	<div id="header2">Status</div>

	<?php 
		$n = 0;
		
		while ( $n < 10 ) : the_post();
			if ($n % 2 == 0) {
				echo "<table id=\"style1\">";		
			}
			else
				echo "<table id=\"style2\">";	

			echo "<tr>";
			echo "<td id=\"name\">Assignment " . $n . "</td>";
			echo "<td id=\"status\">Status</td>";
			echo "</tr>";	
			echo "</table>";
			$n++;
		endwhile; 	
		
	?>
</div>
</html>

<?php get_footer(); ?>